<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">
    <block name="title"></block>


    <link href="__PUBLIC__/css/style.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style-responsive.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="__PUBLIC__/js/html5shiv.js"></script>
    <script src="__PUBLIC__/js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="login-body">

<block name="main"></block>
<!-- 模态框（Modal） -->
<div class="modal fade " id="titleModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog ">
        <div class="modal-content">
            <div class="alert alert-block fade in modal-ts">
                <button type="button" class="close" >
                    <i class="fa fa-times"></i>
                </button>
                <span class="modal-title"></span>
            </div>
            <div class="modal-body">

            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!--alert-block 对应绿色-->
<!--alert-info 对应蓝色-->
<!--alert-warning 对应黄色-->
<!--alert-danger 对应红色-->
<script src="__PUBLIC__/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/js/modernizr.min.js"></script>
<script>
    $('.close').click(function(){
        $('#titleModal').modal('hide');
    });
    function activateModal(title,bady,color) {
        //设置提示颜色
        $("#titleModal .modal-content,#titleModal .modal-ts").removeClass("alert-block alert-info alert-warning alert-danger");
        $("#titleModal .modal-content,#titleModal .modal-ts").addClass(color);
        //设置提示内容
        $(".modal-title").text(title);
        $("#titleModal .modal-body").text(bady);
        $('#titleModal').modal('show');
    }
</script>
<block name="script"></block>
</body>
</html>
